#include "u8g2.h"
#include "FreeRTOS.h"
#include "task.h"
#include "platform_api.h"
#include "bsp_key.h"

void menu_display(void *pdata){
    uint8_t is_redraw = 1;
    u8g2_t *u8g2 = (u8g2_t*)pdata;
    if(!u8g2)  return;
    for(;;){
        if(is_redraw)
        {
            u8g2_FirstPage(u8g2);
            do
            {
              //  mui_Draw(&mui);
              
            } while (u8g2_NextPage(u8g2));
            is_redraw = 0;
        }
                
      //   u8x8_SetGPIOResult(&(u8g2->u8x8), /* get menu select pin state */KEY_CHECK(getKeyState(),KEY_S2_SHORT_PRESS));
        vTaskDelay(pdMS_TO_TICKS(50));
    }

}

void mui_setup(void){

}